/*
 * HClass.java
 *
 * Created on October 9, 2007, 3:13 PM
 *
 */
package OLDSTUFF.HierarchyPackage;

/**
 * Interface for classification class from a hierarchy
 * @author Martin Haulrich
 */
public interface HClass {

    /**
     * Returns the hierarchy that this class is a part of.
     * @return The hierarchy that this class is a part of.
     */
    public Hierarchy belongsTo();


    /**
     * Returns string represenation of this class.
     * @throws HierarchyPackage.HierarchyException Thrown if there are problems accesing the hierarchy this class is a part of.
     * @return String representation of this class.
     */
    public String getName() throws HierarchyException;
}
